﻿using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Gift.Model.ENUM;

namespace WebSite.admin.title
{
    public partial class newsEdit : BaseAdmin
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                base.ValidateLoginRule(ERule.AddArticle);
                string paraPid = "";
                if (!string.IsNullOrEmpty(Request.QueryString["nid"]))
                {
                    paraPid = "?nid=" + Request.QueryString["nid"];
                }
                this.Tab1.IFrameUrl = "newsEdit01.aspx" + paraPid;
                this.Tab2.IFrameUrl = "newsEdit02.aspx" + paraPid;

            }
        }
    }
}